import React, { Component } from "react";
import { Button } from "antd";
import { StepBackwardOutlined, SearchOutlined } from "@ant-design/icons";
import { ConfigProvider } from "antd";
export default class App extends Component {
  render() {
    return (
      // 自定义主题
      <ConfigProvider
        theme={{
          token: {
            colorPrimary: "#00b96b",
          },
        }}
      >
        <div className="App">
          App......
          <Button type="primary">Primary Button</Button>
          <Button type="link">link按钮</Button>
          <br />
          <Button type="primary" icon={<SearchOutlined />}>
            Search
          </Button>
          <StepBackwardOutlined />
          <br />
        </div>
      </ConfigProvider>
    );
  }
}
